php regex replace all non alphanumeric characters

65

php regex replace all non alphanumeric characters -

preg_replace("/[^A-Za-z0-9 ]/", '', $string);

Comments

Submit
0 Comments